@REM 重置平台表数据

@REM 初始化环境变量
call Common.bat

@REM 执行脚本
mysql --host=%mysql_host% --port=%mysql_port% --database=%mysql_db% --user=%mysql_username% --password=%mysql_password% --verbose ^
      -e "source %dir%/3.init-data/%version%/clear-data.sql;" ^
      -e "source %dir%/3.init-data/%version%/anvil.mysql.basic.sql;" ^
@REM      -e "source %dir%/3.init-data/%version%/anvil.mysql.data.sql;" ^
      -e "source %dir%/3.init-data/%version%/anvil.mysql.job.sql;" ^
      -e "source %dir%/3.init-data/%version%/anvil.mysql.report.sql;" ^
      -e "source %dir%/3.init-data/%version%/anvil.mysql.sample.sql;" ^
      -e "source %dir%/3.init-data/%version%/anvil.mysql.wf.sql;"


echo "导入完流程定义后再执行anvil.mysql.sample.wf.config.sql脚本初始化配置数据"